#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : request.py
# @Author: y1wanghui@163.com
# @Date  : 2018/8/31
# @Desc  :

from .setting import *
from requests import Request


class WeixinRequest(Request):
    def __init__(self, url, callback, method='GET', headers=None, need_proxy=False, fail_time=0, timeout=TIMEOUT):
        Request.__init__(self, method, url, headers)
        self.callback = callback
        self.need_proxy = need_proxy
        self.fail_time = fail_time
        self.timeout = timeout
